home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 16r.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.7 KB  |  70 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gCurrentLocation = 16
  7.   puppetSprite(44, 1)
  8.   puppetSound(0)
  9.   gSendMovie = "16r"
  10.   qtChan = 35
  11.   sprite(qtChan).volume = 256
  12.   cast("hommem").directToStage = 1
  13.   preLoad(qtChan - 1)
  14.   initGlobals()
  15.   gKnobSprite = 17
  16.   setUpKnob()
  17.   set the mouseDownScript to EMPTY
  18.   set the mouseUpScript to EMPTY
  19.   if gsearchOn = 1 then
  20.     sprite(6).visible = 1
  21.   else
  22.     sprite(6).visible = 0
  23.   end if
  24. end
  25.  
  26. on idle
  27.   global gCursorReady
  28.   if gCursorReady = 1 then
  29.     cursor(200)
  30.     checkCursors()
  31.     set the locH of sprite 44 to the mouseH
  32.     set the locV of sprite 44 to the mouseV
  33.     updateStage()
  34.   end if
  35. end
  36.  
  37. on checkCursors
  38.   global gMagCursor
  39.   set the castNum of sprite 44 to the number of member "curs1"
  40.   if rollOver(5) then
  41.     set the castNum of sprite 44 to the number of member "hotCursor"
  42.   end if
  43.   if rollOver(22) then
  44.     set the castNum of sprite 44 to the number of member "hotCursor"
  45.   end if
  46.   repeat with i = 8 to 12
  47.     if rollOver(i) then
  48.       set the castNum of sprite 44 to the number of member "hotCursor"
  49.     end if
  50.   end repeat
  51.   repeat with i = 14 to 21
  52.     if rollOver(i) then
  53.       set the castNum of sprite 44 to the number of member "hotCursor"
  54.     end if
  55.   end repeat
  56.   repeat with i = 24 to 28
  57.     if rollOver(i) then
  58.       set the castNum of sprite 44 to the number of member "hotCursor"
  59.     end if
  60.   end repeat
  61.   if rollOver(37) then
  62.     set the castNum of sprite 44 to the number of member "nonCursor"
  63.   end if
  64.   repeat with i = 39 to 42
  65.     if rollOver(i) then
  66.       set the castNum of sprite 44 to the number of member "hotCursor"
  67.     end if
  68.   end repeat
  69. end
  70.